<extend name="Public/main"/>

<block name="navs">
    <li class="current">
        <div class="step_inner fl">
            <span class="icon_step">1</span>
            <h4>协议书</h4>
        </div>
    </li>
    <li class="current">
        <div class="step_inner fl">
            <span class="icon_step">2</span>
            <h4>环境检测</h4>
        </div>
    </li>
    <li class="current">
        <div class="step_inner">
            <span class="icon_step">3</span>
            <h4>创建数据库</h4>
        </div>
    </li>
    <li class="current">
        <div class="step_inner fr">
            <span class="icon_step">4</span>
            <h4><eq name="Think.session.update" value="1">升级<else/>安装</eq></h4>
        </div>
    </li>
    <li>
        <div class="step_inner fr">
            <span class="icon_step">5</span>
            <h4>完成</h4>
        </div>
    </li>
</block>

<block name="body">
    <h1><eq name="Think.session.update" value="1">升级<else/>安装</eq></h1>
    <div id="show-list" class="install-database">
    </div>
    <script type="text/javascript">
        var list   = document.getElementById('show-list');
        function showmsg(msg, classname){
            var li = document.createElement('p'); 
            li.innerHTML = msg;
            classname && li.setAttribute('class', classname);
            list.appendChild(li);
            document.scrollTop += 30;
        }
    </script>
</block>

<block name="footer">
    <button class="btn btn-primary disabled">正在<eq name="Think.session.update" value="1">升级<else/>安装</eq>，请稍后...</button>
</block>